﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VISS.API.Commons {
    public interface INationality {

        /// <summary>
        /// Insert new NationalityEnt
        /// </summary>
        /// <param name="item">NationalityEnt</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Insert(NationalityEnt item);
        /// <summary>
        /// Update NationalityEnt
        /// </summary>
        /// <param name="item">NationalityEnt</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Update(NationalityEnt item);
        /// <summary>
        /// Delete a NationalityEnt
        /// </summary>
        /// <param name="iD">ID of NationalityEnt need to be deleted</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Delete(short iD);

        /// <summary>
        /// Get all NationalityEnt
        /// </summary>
        /// <returns>return a list of NationalityEnt (empty list if no NationalityEnt exists)</returns>
        List<NationalityEnt> GetAll();
    }
}
